package com.whcoding.base.project.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @program: spring-boot-learning
 * @description:
 * @author: whcoding
 * @create: 2022-05-26 14:44
 **/
@Data
public class BaseVO implements Serializable {

	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date bTime;

	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date eTime;

	/**
	 * 总条数
	 */
	private Long total;

	/**
	 * 页码
	 */
	private Integer pageNumber;

	/**
	 * 每页结果数
	 */
	private Integer pageSize;

	/**分页的对象*/
	private PageParamVO pageParamVO;

}
